<?php
$this->breadcrumbs=array(
	'Obras'=>array('index'),
	$model->id,
);

$this->menu=array(
	array('label'=>'Listar Obras', 'url'=>array('index')),
	array('label'=>'Nova Obra', 'url'=>array('create')),
	array('label'=>'Atualizar Obra', 'url'=>array('update', 'id'=>$model->id)),
	/*array('label'=>'Delete Obra', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),*/
	array('label'=>'Gerenciar Obra', 'url'=>array('admin')),
);
?>

<h1>View Obra #<?php echo $model->id; ?></h1>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'id',
		'obra',
		'serv_prelim',
		'infraestrutura',
		'supraestrutura',
		'revestimento',
		'esquadrias',
		'instalacoes',
		'total_obra',
		'nome_diretorio',
	),
)); ?>
